package com.czx.service.impl;

import net.sf.cglib.core.Signature;
import net.sf.cglib.reflect.FastClass;

import java.lang.reflect.InvocationTargetException;

/* compiled from: <generated> */
public class IndexServiceImpl$$FastClassByCGLIB$$54b2ce7e extends FastClass {
    public IndexServiceImpl$$FastClassByCGLIB$$54b2ce7e(Class cls) {
        super(cls);
    }

    public int getIndex(String str, Class[] clsArr) {
        switch (str.hashCode()) {
            case 109:
                if (str.equals("m")) {
                    switch (clsArr.length) {
                        case 0:
                            return 0;
                        case 2:
                            if (clsArr[0].getName().equals("int") && clsArr[1].getName().equals("int")) {
                                return 1;
                            }
                        default:
                            break;
                    }
                }
                break;
            case 3529469:
                if (str.equals("show")) {
                    switch (clsArr.length) {
                        case 0:
                            return 2;
                        case 2:
                            if (clsArr[0].getName().equals("java.lang.String") && clsArr[1].getName().equals("int")) {
                                return 3;
                            }
                        default:
                            break;
                    }
                }
                break;
        }
        return -1;
    }

    public int getIndex(Signature signature) {
        String obj = signature.toString();
        switch (obj.hashCode()) {
            case -1135202757:
                if (obj.equals("m(II)I")) {
                    return 1;
                }
                break;
            case -789603912:
                if (obj.equals("m()Ljava/lang/String;")) {
                    return 0;
                }
                break;
            case -107098079:
                if (obj.equals("show(Ljava/lang/String;I)V")) {
                    return 3;
                }
                break;
            case 2067235672:
                if (obj.equals("show()V")) {
                    return 2;
                }
                break;
        }
        return -1;
    }

    public int getIndex(Class[] clsArr) {
        switch (clsArr.length) {
            case 0:
                return 0;
            default:
                return -1;
        }
    }

    public int getMaxIndex() {
        return 6;
    }

    public Object invoke(int i, Object obj, Object[] objArr) throws InvocationTargetException {
        InvocationTargetException invocationTargetException;
        IndexServiceImpl indexServiceImpl = (IndexServiceImpl) obj;
        switch (i) {
            case 0:
                    return indexServiceImpl.m();
            case 1:
                return new Integer(indexServiceImpl.m(((Number) objArr[0]).intValue(), ((Number) objArr[1]).intValue()));
            case 2:
                indexServiceImpl.show();
                return null;
            case 3:
                indexServiceImpl.show((String) objArr[0], ((Number) objArr[1]).intValue());
                return null;
            default:
                throw new IllegalArgumentException("Cannot find matching method/constructor");
        }
    }

    public Object newInstance(int i, Object[] objArr) throws InvocationTargetException {
        switch (i) {
            case 0:
                try {
                    return new IndexServiceImpl();
                } catch (Throwable th) {
                    InvocationTargetException invocationTargetException = new InvocationTargetException(th);
                }
            default:
                throw new IllegalArgumentException("Cannot find matching method/constructor");
        }
    }
}